setLogo

open fun setLogo(@DrawableRes resId: Int)(source)

Set a logo drawable from a resource id.

This drawable should generally take the place of title text. The logo cannot be clicked. Apps using a logo should also supply a description using setLogoDescription.

Parameters

resId

ID of a drawable resource


open fun setLogo(drawable: Drawable)(source)

Set a logo drawable.

This drawable should generally take the place of title text. The logo cannot be clicked. Apps using a logo should also supply a description using setLogoDescription.

Parameters

drawable

Drawable to use as a logo